<?php
/**
 * Created by PhpStorm.
 * User: robert
 * Date: 2015/4/23
 * Time: 17:29
 */

return array(

    //配置项目信息
    "APP_NAME"						=>	"",
    "APP_PATH"						=>	"http://wx.dakaqi.cn",
    "OPEN_DEBUG"					=>	false,

    //微信 Token
    "weixin_token"					=>	"3c9d0cff96",
    "EncodingAESKey"				=>	"QxE2WIN0U35CnCaSgKkR54i4wPD8gPyZgsNSScPmyva",
    "app_id"						=>	"wx266794ed49f0854a",
    "app_secret"					=>	"58712410e8f9dffb04e42ac5c7ff1f16",


    //微信服务端接口请求地址
    "url_access_token"				=>	"https://api.weixin.qq.com/cgi-bin/token",				//获取访问授权
    "url_create_menu"				=>	"https://api.weixin.qq.com/cgi-bin/menu/create",		//创建|更新自定义菜单请求地址

    // 微信用户信息接口
    "url_sns_oauth2"				=>	"https://api.weixin.qq.com/sns/oauth2/access_token",	//获取用户信息授权 获取 access_token
    "url_sns_userinfo"				=>	"https://api.weixin.qq.com/sns/userinfo",				//获取用户信息请求地址
    "url_connect_code"				=>	"https://open.weixin.qq.com/connect/oauth2/authorize",	//用户授权请求地址 获取code

    // 微信推送信息接口
    "url_message_send"				=>	"https://api.weixin.qq.com/cgi-bin/message/template/send",	//微信发送模版消息接口

    // 客户端 授权成功返回地址
    "return_url_oauth2"				=>	"http://wx.dakaqi.cn/index.php/Oauth/band",	//用户授权请求地址 获取code

    // 打卡器服务端接口请求地址
    "api_join_activity"				=>	"http://www.dakaqi.cn/services/activity-apply.action",	//报名参加活动
    "api_member_reg"				=>	"http://www.dakaqi.cn/services/wei-xin-reg.action",	//用户注册打卡器账号
    "api_join_org"  				=>	"http://www.dakaqi.cn/services/org-apply.action",	//用户申请加入组织

    // 活动信息接口
    "url_activity_info"				=>	"http://www.dakaqi.cn/share/activity.action",	//打卡器活动预览地址
    "url_activity_def_image"		=>	"http://www.dakaqi.cn/images/img_01.jpg",	//微信展示活动信息，活动默认封面地址



    //数据库配置
    "mysql_connect_url"				=>	"lifeyoyo.mysql.rds.aliyuncs.com",
    "mysql_connect_root"			=>	"chunyang1688",
    "mysql_connect_password"		=>	"chunyang1688",
    "mysql_connect_db_name"			=>	"volunteer_pu",

    //smarty 配置
    "smarty_caching"				=>	false,  //是否开启模版缓存
    "smarty_cache_lifetime"			=>	120,	//缓存文件有效时间，单位为 秒
    "smarty_template_extension"		=>  "html",	//模版文件后缀名

    //redis 配置
    "redis_open"					=> true,	//是否开启redis,默认 false
    "redis_connect"					=> "127.0.0.1", //redis 服务器地址。
    "redis_port"					=> 6379,		//服务器端口



);

